package com.bwie.shop.service;

import com.bwie.common.domain.Shop;
import com.bwie.common.domain.ShopContract;
import com.bwie.common.domain.request.AddContractRequest;
import com.bwie.common.domain.request.AddShopRequest;
import com.bwie.common.domain.request.ShopContractRequest;
import com.bwie.common.domain.request.ShopRequest;
import com.bwie.common.domain.response.ShopContractResponse;
import com.bwie.common.domain.response.ShopResponse;

import java.util.List;

public interface ShopService {

    /**
     * 店铺列表
     * @param shopRequest
     * @return
     */
    List<ShopResponse> shopList(ShopRequest shopRequest);

    /**
     * 店铺入驻
     * @param addShopRequest
     */
    void addShop(AddShopRequest addShopRequest);

    /**
     * 审核通过
     * @param id
     */
    void reviewPass(Long id);

    /**
     * 审核驳回
     * @param id
     */
    void reviewReject(Long id);

    /**
     * 店铺合同列表
     * @return
     */
    List<ShopContractResponse> shopContractList();

    /**
     * 合同续约
     * @param request
     */
    void addContract(AddContractRequest request);

    /**
     * 店铺下拉框
     * @return
     */
    List<Shop> selectShop();

    /**
     * 合同审核通过
     * @param id
     */
    void reviewContractPass(Long id);

    /**
     * 合同审核驳回
     * @param id
     */
    void reviewContractReject(Long id);
}
